<%--
  Created by IntelliJ IDEA.
  User: Elle
  Date: 2022/3/7
  Time: 16:24
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<div class="menu_bg">
    <div class="menu">
        <!--Begin 商品分类详情 Begin-->
        <div class="nav">
            <div class="nav_t">全部商品分类</div>
            <div class="leftNav none">
                <ul>
                    <c:forEach items="${applicationScope.level}" var="lv1">
                    <li>
                        <div class="fj">
                            <span class="n_img"><span></span><img src="images/nav2.png" /></span>
                            <span class="fl"><a href="GoodsServlet?level=1&id=${lv1.classify.id}">${lv1.classify.classifyName}</a></span>
                        </div>
                        <div class="zj" style="top:-40px;">
                            <div class="zj_l">
                                <c:forEach items="${lv1.next}" var="lv2">
                                <div class="zj_l_c">
                                    <h2><a href="GoodsServlet?level=2&id=${lv2.classify.id}">${lv2.classify.classifyName}</a></h2>
                                    <c:forEach items="${lv2.next}" var="lv3">
                                        <a href="GoodsServlet?level=3&id=${lv3.classify.id}">${lv3.classify.classifyName}</a>
                                    </c:forEach>
                                </div>
                                </c:forEach>
                            </div>
                            <div class="zj_r">
                                <a href="#"><img src="images/n_img1.jpg" width="236" height="200" /></a>
                                <a href="#"><img src="images/n_img2.jpg" width="236" height="200" /></a>
                            </div>
                        </div>
                    </li>
                    </c:forEach>
                </ul>
            </div>
        </div>
        <!--End 商品分类详情 End-->
        <ul class="menu_r">
            <li><a href="client/Index.jsp">首页</a></li>
            <c:forEach items="${applicationScope.level}" var="lv1">
                <li><a href="Food.html">${lv1.classify.classifyName}</a></li>
            </c:forEach>
        </ul>
        <div class="m_ad">中秋送好礼！</div>
    </div>
</div>
